package ProjectTeam39.Domains;

public class Patient extends User {
	MedicalInfo minfo;
	//Gender g
	
	/*public Patient(String name, Gender g, short phoneNum, String address, 
			PersonalInfo pinfo, MedicalInfo minfo, String username, String pw){*/
	
	public Patient(String name, long phoneNum, String address, 
			MedicalInfo minfo, String username, String pw){
		this.name = name;
		//this.g = g; GENDER HAS BEEN REMOVED TEMPORARILY. FUCK ENUMS
		this.phoneNumber = phoneNum;
		this.address = address;
		this.minfo = minfo;
		this.username = username;
		this.password = pw;
	}
	
	public MedicalInfo getMedicalInfo()
	{
		return minfo;
	}
}
